from rest_framework.routers import SimpleRouter

from shops.views import ShopsView, ShopsBannerView, ChildCategoryView, ShopsInfoView, SearchShopsView, ShopsRecommendView

router = SimpleRouter()
router.register('', ShopsView)
router.register('banner', ShopsBannerView)
router.register('category', ChildCategoryView)
router.register('info', ShopsInfoView)
router.register('search', SearchShopsView)
router.register('recommend', ShopsRecommendView)


urlpatterns = [
]
urlpatterns += router.urls